<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>login</title>
    <link rel="stylesheet" href="./css/1.css">
    <script src="./js/1.js"></script>
</head>

<body>

    <div class="container">

        <h2 class="title">login</h2>

        <form action="./2.html" method="post">
            <label for="username" style="color: #6cf;">用户名:</label>
            <input class="inp" type="text" name="username" autocomplete="off" id="username">

            <div class="error" id="error-username">用户名不能为空</div>

            <br>
            <label for="password" style="color: #6cf;">密&nbsp;&nbsp;&nbsp;码:</label>
            <input class="inp" type="password" name="password" id="password">

            <div class="error" id="error-password">密码不能为空</div>
            <br>
            <input class="btn" type="submit" value="登录" id="loginBtn">
        </form>
    </div>


</body>

</html>